package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.PayOrder;
import cn.itsource.ymcc.dto.AlipayNotifyDto;
import cn.itsource.ymcc.dto.PayDto;
import cn.itsource.ymcc.result.JSONResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gwk
 * @since 2023-03-14
 */
public interface IPayOrderService extends IService<PayOrder> {

    JSONResult checkPayOrder(String orderNO);

    String apply(PayDto payDto);

    String alipayNotify(AlipayNotifyDto alipayNotifyDto);

    void updatePayOrderAndSaveFlow(String orderNo);

    PayOrder getPayOrder(String orderNO);

    void alipayClose(String orderNo);

}
